import Layout from "@/layout";

const residuesRouter = {
  path: '/residues/index',
  component: Layout,
  redirect: 'noRedirect',
  name: 'residues',
  hidden: false,
  meta: {
    title: '预警管理',
    abbre: '预警',
    icon: 'left_menu_residues',
    navigation: '/residues/index',
    id: '407'
  },
  children: [
    {
      path: '/residues/index',
      component: () => import('@/views/residues/list/index'),
      name: 'residues_index',
      hidden: false,
      meta: {
        title: '人员预警',
        noCache: false,
        navigation: '/residues/index',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/residues/detection',
      component: () => import('@/views/residues/detection/index'),
      name: 'residues_detection',
      hidden: false,
      meta: {
        title: '检测预警',
        noCache: false,
        navigation: '/residues/detection',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/residues/detection_detail',
      component: () => import('@/views/residues/detection/detail'),
      name: 'residues_detection_detail',
      hidden: true,
      meta: {
        title: '检测预警',
        noCache: false,
        navigation: '/residues/detection',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/residues/patrol',
      component: () => import('@/views/residues/patrol/index'),
      name: 'residues_patrol',
      hidden: false,
      meta: {
        title: '巡查预警',
        noCache: false,
        navigation: '/residues/patrol',
        icon: 'menu_big_data'
      }
    }
    // {
    //   path: "/residues/formwork",
    //   component: () => import("@/views/residues/formwork"),
    //   name: "merchant_list",
    //   hidden: false,
    //   meta: {
    //     title: "预警模板",
    //     noCache: false,
    //     navigation: "/residues/formwork",
    //     icon: "menu_big_data"
    //   }
    // },
  ]
}

export default residuesRouter;